MailPoet\Config\Hooks S

Total Complexity 39
Dependencies 21
Dependents 5
Total lines 608
Lines of code 442
Logical lines of code 127
Comment lines 52
Methods 26
Properties 17

Methods 26

Method Rating Maintainability Complexity Lines of code
setupSubscriptionEvents()
A
37 7 99
setupWPUsers()
S
47 1 51
setupWooCommerceSubscriptionEvents()
S
51 2 29
deactivateCronActions()
S
63 3 11
setupWooCommerceUsers()
S
53 1 32
setupFooter()
S
64 2 11
setupWoocommerceSystemInfo()
S
57 1 23
setupWooCommerceSettings()
S
57 1 20
__construct()
S
55 1 19
init()
S
57 1 19
setFooter()
S
70 2 6
setScreenOption()
S
69 2 7
deactivateCronWhenInMaintenanceMode()
S
67 2 9
setupWooCommercePurchases()
S
62 1 14
setupMailer()
S
62 1 14
deactivateMailPoetCronBeforePluginUpgrade()
S
63 1 12
setupWooCommerceSubscriberEngagement()
S
65 1 11
setupListing()
S
68 1 8
setupPostNotifications()
S
68 1 8
setupAutomateWooSubscriptionEvents()
S
82 1 3
setupSettingsLinkInPluginPage()
S
71 1 6
setSettingsLinkInPluginPage()
S
68 1 6
setupChangeNotifications()
S
72 1 6
setupLicenseProvisioning()
S
68 1 8
initEarlyHooks()
S
82 1 3
setupWooCommerceTracking()
S
70 1 7